package com.imooc.dianping.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imooc.dianping.model.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where telphone=#{telphone}")
    User selectByTelphone(@Param("telphone") String telphone);

}
